<?php

/*
Block Name: Current Author Posts
Version: 1.0
Block URI: http://www.freshpursuits.com/canvas
Author: Yas
Description: Lists recent posts from the current author (for use on single pages).
Group: Posts
*/

?>
<h6><?php the_author_nickname(); ?>'s Recent Posts</h6>
<?php $mini_query = new wp_query('author='.get_the_author_ID().'&showposts=10&orderby=date'); ?>
<?php while ($mini_query->have_posts()) : $mini_query->the_post(); update_post_caches($posts); ?>
<dl>
<dt><h4><a href="<?php the_permalink() ?>" rel="bookmark" title="Permalink to <?php the_title(); ?>"><?php the_title(); ?></a></h4></dt>
<dd>Filed under <?php the_category(', ') ?>. Created on <?php the_time('F jS') ?>.</dd>
</dl>
<?php endwhile; ?>